import 'package:search_people/page/analysis/subs/trd_touch/index.dart';
import 'package:search_people/page/bottom_navigation/view.dart';
import 'package:search_people/page/dynamic/subs/dynamic_all/index.dart';
import 'package:search_people/page/dynamic/subs/dynamic_person/index.dart';
import 'package:search_people/page/dynamic/subs/dynamic_search/index.dart';
import 'package:search_people/page/home/subs/hot_people/index.dart';
import 'package:search_people/page/home/subs/menu_all/index.dart';
import 'package:search_people/page/home/subs/person_detail/index.dart';
import 'package:search_people/page/home/subs/person_portrait/index.dart';
import 'package:search_people/page/home/subs/relation/index.dart';
import 'package:search_people/page/home/subs/super_search/index.dart';
import 'package:search_people/page/login/view.dart';
import 'package:search_people/page/me/follow/view.dart';
import 'package:search_people/page/search/view.dart';
import 'package:search_people/page/splash/index.dart';
import 'package:search_people/page/web_view/index.dart';
import 'package:search_people/page/welcome/index.dart';
import 'package:get/get.dart';

import '../../page/home/subs/search_birthday/index.dart';
import '../../page/login/forgetpassword/view.dart';
import '../../page/login/register/view.dart';
import '../../page/me/setup/about/binding.dart';
import '../../page/me/setup/about/page.dart';
import '../../page/me/setup/forgot/find_back_success/page.dart';
import '../../page/me/setup/forgot/main/binding.dart';
import '../../page/me/setup/forgot/main/page.dart';
import '../../page/me/setup/forgot/new_pwd/binding.dart';
import '../../page/me/setup/forgot/new_pwd/page.dart';
import '../../page/me/setup/login_pwd/binding.dart';
import '../../page/me/setup/login_pwd/page.dart';
import '../../page/me/setup/main/binding.dart';
import '../../page/me/setup/main/page.dart';
import '../../page/me/setup/modify_phone/main/binding.dart';
import '../../page/me/setup/modify_phone/main/page.dart';
import '../../page/me/setup/modify_phone/modify_phone2/binding.dart';
import '../../page/me/setup/modify_phone/modify_phone2/page.dart';
import '../../page/me/setup/nick/binding.dart';
import '../../page/me/setup/nick/page.dart';

part 'route_path.dart';

class RouterPages {
  static final List<GetPage> getPages = [
    GetPage(
      name: RouterPath.splash,
      page: () => SplashPage(),
    ),
    GetPage(
      name: RouterPath.welcome,
      page: () => const WelcomePage(),
      binding: WelcomeBinding(),
    ),
    GetPage(
      name: RouterPath.login,
      page: () => PasswordloginPage(),
      // binding: SearchBinding(),
      // transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.registerPage,
      page: () => RegisterPage(),
      // binding: SearchBinding(),
      // transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.forgetpasswordPage,
      page: () => ForgetpasswordPage(),
      // binding: SearchBinding(),
      // transition: Transition.noTransition,
    ),
    GetPage(
      name: RouterPath.bottom_nav,
      page: () => Bottom_navigationPage(),
    ),
    GetPage(
      name: RouterPath.search_page,
      page: () => SearchPage(),
    ),
    GetPage(
      name: RouterPath.menu_all,
      page: () => const MenuAllPage(),
      binding: MenuAllBinding(),
    ),
    GetPage(
      name: RouterPath.person_detail,
      page: () => PersonDetailPage(),
    ),
    GetPage(
      name: RouterPath.followPage,
      page: () => FollowPage(),
    ),
    GetPage(
      name: RouterPath.hot_people,
      page: () => const HotPeoplePage(),
      binding: HotPeopleBinding(),
    ),
    GetPage(
      name: RouterPath.person_portrait,
      page: () => const PersonPortraitPage(),
      binding: PersonPortraitBinding(),
    ),
    GetPage(
      name: RouterPath.relation,
      page: () => const RelationPage(),
      binding: RelationBinding(),
    ),
    GetPage(
      name: RouterPath.super_search,
      page: () => const SuperSearchPage(),
      binding: SuperSearchBinding(),
    ),
    GetPage(
      name: RouterPath.search_birthday,
      page: () => const SearchBirthdayPage(),
      binding: SearchBirthdayBinding(),
    ),
    GetPage(
      name: RouterPath.dynamic_all,
      page: () => const DynamicAllPage(),
      binding: DynamicAllBinding(),
    ),
    GetPage(
      name: RouterPath.dynamic_search,
      page: () => const DynamicSearchPage(),
      binding: DynamicSearchBinding(),
    ),
    GetPage(
      name: RouterPath.dynamic_person,
      page: () => const DynamicPersonPage(),
      binding: DynamicPersonBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_pwd,
      page: () => const ForgotPage(),
      binding: ForgotBinding(),
    ),
    GetPage(
      name: RouterPath.forgot_new_pwd,
      page: () => const NewPwdPage(),
      binding: NewPwdBinding(),
    ),
    GetPage(
      name: RouterPath.find_back_success,
      page: () => const FindBackSuccessPage(),
    ),
    GetPage(
      name: RouterPath.setup,
      page: () => const SetupPage(),
      binding: SetupBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone,
      page: () => const ModifyPhonePage(),
      binding: ModifyPhoneBinding(),
    ),
    GetPage(
      name: RouterPath.modify_phone2,
      page: () => const ModifyPhone2Page(),
      binding: ModifyPhone2Binding(),
    ),
    GetPage(
      name: RouterPath.nick_name,
      page: () => const NickNamePage(),
      binding: NickNameBinding(),
    ),
    GetPage(
      name: RouterPath.about_us,
      page: () => const AboutUsPage(),
      binding: AboutUsBinding(),
    ),
    GetPage(
      name: RouterPath.login_pwd,
      page: () => const LoginPwdPage(),
      binding: LoginPwdBinding(),
    ),
    GetPage(
      name: RouterPath.web_view,
      page: () => const WebViewPage(),
      binding: WebViewBinding(),
    ),
    GetPage(
      name: RouterPath.trd_touch,
      page: () => const TrdTouchPage(),
      binding: TrdTouchBinding(),
      transition: Transition.noTransition,
      opaque: false,
      fullscreenDialog: true,
    ),
  ];
}
